package com.shenfc.fxzj.service;

import com.github.pagehelper.PageInfo;
import com.shenfc.fxzj.domain.PageBean;
import com.shenfc.fxzj.domain.SysUser;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/2/3 0003.
 */
public interface ISysUserService {


    SysUser getSysUserByUserName(String userName);


    PageInfo<SysUser> querySysUserPage(Map<String, Object> map, PageBean pageBean);

    void updateStatus(Long id, String status);

    SysUser getSysUserById(Long id);

    void addSysUser(SysUser sysUser);

    void updateSysUser(SysUser sysUser);

    List<SysUser> getSysUsersByRoleId(Long roleId);
}
